package com.strive.village.entity.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

@Data
public class VillageDto implements Serializable {

    @ExcelProperty(value = "乡村名", index = 0)
    private String villageName;

    @ExcelProperty(value = "所属城市", index = 1)
    private String county;

    @ExcelProperty(value = "所属省份", index = 2)
    private String province;

    @ExcelProperty(value = "人口数/万人", index = 3)
    private Integer population;

    @ExcelProperty(value = "创建时间", index = 4)
    private LocalDate establishData;

    @ExcelProperty(value = "乡村描述", index = 5)
    private String description;
}
